Get a single Allocation by query
Returns the first Allocation matching the given query parameters.
Access control: Admin and Operator accounts have full access to Allocation resources. Advertiser accounts can only view their own Allocations (filtered by owner_id=user.id).
Authorizations
Bearer authentication. Pass the access token in the Authorization: Bearer <token> header.
Query Parameters
Target type (ad_unit | placement)
ad_unit, placement Target ID(s) — repeatable: ?tid=X&tid=Y
Resource type (line_item | recommendation_policy)
line_item, recommendation_policy Resource ID
Allocation status
pending, requested, published, rejected, canceled, finished Owner ID
Response
Successful Response
Response schema for allocation read operations — includes enriched name fields.
Owner ID
Resource ID (line_items.id or recommendation_policies.id)
Resource type allocated to the target (line_item / recommendation_policy)
line_item, recommendation_policy Target ID (ad_units.id or placements.id)
Target type (ad_unit / placement)
ad_unit, placement for various configuration
Last comment
End date of the line item
Name of the line item
Order ID of the line item
Start date of the line item
Status of the line item
ID of the allocation
Name of the allocation owner
The current status of the allocation (e.g. pending, published, rejected)
pending, requested, published, rejected, canceled, finished Ext of the target (ad_unit only)
Name of the target (ad unit or placement)
